char*web2local(const char*path)
{
	if(path==NULL)return NULL;
	if(strnicmp(path,"http:",5)!=0 && strnicmp(path,"ftp:",4)!=0){
		char*s = malloc(strlen(path)+6);
		sprintf(s,"wget %s",path);
		int rt=system(s);
		free(s);
		if(rt==0)
			return	strrchr(path,"/")+1;
	}else{
		return path;
	}
	return NULL;
}
